<?php
class cnfg
{
    static $agent=array(
            'server_port'   =>  11000,
            'monitor_port'  =>  11001,
            'workers'       =>  4,
            'tracking'      =>  true,
            );

    static $db=array(
            'db1'=>array(
                'type'      =>  'mysql',
                'user'      =>  'dbuser',
                'passwd'    =>  'dbuser',
                'database'  =>  'test',
                'host'      =>  'localhost'
                ),
            'db2'=>array(
                'type'      =>  'oci8',
                'user'      =>  'dbuser',
                'passwd'    =>  'dbuser',
                'host'      =>  'localhost'
                ),
            );

    static $svcnode=array(
            'passwd'    =>  array('addr'=>'localhost:10010'),
            'session'   =>  array('addr'=>'localhost:10020','mode'=>svcnode::PERMANENT),
            'secure'    =>  array('addr'=>'localhost:10030','mode'=>svcnode::PERMANENT),
            'mailfwd'   =>  array('addr'=>'localhost:10040'),
            'confirm'   =>  array('addr'=>'localhost:10050','mode'=>svcnode::PERMANENT),
            );

    static $svcenv=array(
            'site1'=>array('addr'=>'site1:11000', 'json'=>true),
            );

    static $memcache=array(
            'cache1'=>array('addr'=>'localhost:11211'),
            );
}
?>
